package com.ruoyi.project.stop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * app版本发布对象 app_version
 *
 * @author ruoyi
 * @date 2025-04-08
 */
public class AppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long versionCode;

    /** 版本号（字符串） */
    @Excel(name = "版本号", readConverterExp = "字=符串")
    private String versionCodeStr;

    /** app下载url */
    @Excel(name = "app下载url")
    private String versionUrl;

    /** 版本发布文案 */
    @Excel(name = "版本发布文案")
    private String versionText;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setVersionCode(Long versionCode)
    {
        this.versionCode = versionCode;
    }

    public Long getVersionCode()
    {
        return versionCode;
    }

    public void setVersionCodeStr(String versionCodeStr)
    {
        this.versionCodeStr = versionCodeStr;
    }

    public String getVersionCodeStr()
    {
        return versionCodeStr;
    }

    public void setVersionUrl(String versionUrl)
    {
        this.versionUrl = versionUrl;
    }

    public String getVersionUrl()
    {
        return versionUrl;
    }

    public void setVersionText(String versionText)
    {
        this.versionText = versionText;
    }

    public String getVersionText()
    {
        return versionText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionCode", getVersionCode())
            .append("versionCodeStr", getVersionCodeStr())
            .append("versionUrl", getVersionUrl())
            .append("versionText", getVersionText())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
